﻿#ifndef CMDSAVEGRAPH_H
#define CMDSAVEGRAPH_H

#include "CommandManager/CommandBase.h"


namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSaveGraph : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSaveGraph();
        ~CmdSaveGraph();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setFilePath(QString filePath);

    private:

    private:
        QString m_filePath;
    };
}

#endif
